package com.cn.medicalcare.service;

import com.cn.medicalcare.pojo.Admin;
import com.cn.medicalcare.pojo.AllPage;

import java.util.List;


public interface AdminService {

    Admin selectAdminByUsername(String username);

    boolean insertAdmin(Admin admin);

    boolean updataAdmin(Admin admin);

    boolean updataAdminPassword(Admin admin);

    List<Admin> selectAdminInPage(AllPage<Admin> allPage);

    int selectAdminCount(Admin admin);

}
